<script>
	import {
		getLables
	} from "@/api/index.js"
	export default {
		onLaunch: async function() {
			const res = await getLables();
			console.log(res);
			if (res.data.code != 200) return uni.showToast({
				title: res.data.msg,
				icon: 'none'
			})
			const strong = JSON.parse(uni.getStorageSync('houseInfo'));
			strong.tagNames = res.data.rows
			uni.setStorageSync('houseInfo', JSON.stringify(strong))
		},
		onShow: function() {

		},
		onHide: function() {

		}
	}
</script>

<style lang="scss">
	@import "./uni_modules/uview-ui/index.scss";

	.u-type-success {
		background-color: #3c9cff !important;
		opacity: 0.8;
		color: #fff !important;
	}

	.u-toast__content__text--success {
		color: #fff !important;
	}

	.u-icon__icon--success {
		color: #fff !important;
	}

	/*每个页面公共css */
</style>